<?php
/**
 * Simple Oracle Test File 
 */
	require_once("config.php");
	require_once("apl.php");	
	require_once("db/apl_db_oracle.php");
   
    
    $c = new AplConnection("ORATEST", "scott","tiger","");    
    $q = new AplQuery( $c );
    $q->open("select * from emp where emp_no is not null order by emp_no",5,3);
   do{
      $r = $q->fetch();
      echo "<br>K:";
      echo $r["EMP_NO"]." - ".$r["NAME"]." ".$r["SURNAME"];
   }while( $q->nextRecord());
   $q->close();

?>